package com.xyz.livelib.rtmp.encoder;

import android.content.Context;
import android.util.Log;

public class PushEncode extends BasePushEncoder {

    public PushEncode(Context context, int textureId, int cameraId) {
        super(context);
        Log.e("chenzhu", "id = " + textureId);
        setRender(new VideoPushRender(context, textureId, cameraId));
        setRenderMode(RENDERMODE_CONTINUOUSLY);
    }

    public PushEncode(Context context) {
        super(context);

    }
}
